# Project: From Home Base to Swing States: The Evolution of Digital Advertising 
#          Strategies during the 2020 US Presidential Primary
# Authors: NaLette Brodnax and Piotr Sapiezynski

library(tidyverse)
library(stargazer)

state_data <- read_csv('replication_data_state.csv')

table3 <- state_data %>% 
  as.data.frame() %>% 
  stargazer(summary = TRUE, summary.stat = c('n', 'mean', 'sd', 'min', 'max'),
            title = 'State Control Variables', type = 'text')
